/*
 * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.common.constants;

/**
 * <p>
 * Description: 拓扑管理常量管理类
 * </p>
 *
 * @author sunxiangxue
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-8-11 上午9:28:52          sunxiangxue        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public class TopoConstants {

    /**
     * 文件coty缓存大小
     */
    public static final int BUFFER_SIZE = 2048;

    /**
     * 图片路径--资源节点图片路径
     */
    public static final String TOPO_RES_IMAGE_PATH = "/resources/images/topo/res/";

    /**
     * 图片路径--拓扑背景图片路径
     */
    public static final String TOPO_BG_IMAGE_PATH = "/resources/images/topo/bg/";

    /**
     * 图片上传类型---背景图
     */
    public static final String FILE_TYPE_TOPO_BG = "topoBgImage";

    /**
     * 图片上传类型---资源节点图
     */
    public static final String FILE_TYPE_RES = "resImage";

    /**
     * ID拼接前缀--类别为资源
     */
    public static final String PRE_ID_RES = "2|";

    /**
     * 资源状态--被删除。目前在拓扑图中资源状态展现使用
     */
    public static final String RES_DELETED = "99";
}
